home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGMISC / FLOW145.LZH / PRINTER.DAT < prev    next >
Text File  |  1986-08-22  |  7KB  |  148 lines

  1.  This file is used by the printer driver PRINTER.DVR and defines the control
  2.  code sequences that are sent to the printer to enable the various print 
  3.  modes used by the driver. These control code sequences can be changed to 
  4.  match those used by different printers.  
  5.  
  6.  Each control code sequence starts in column 1 and begins with the character 
  7.  '*' or 'F' followed immediately by a number which identifies the sequence.  
  8.  This identifier (ID) is used by the printer driver to determine which 
  9.  sequence is to be changed and to ignore the comments.  
  10.  
  11.  Following the ID are the control codes (in decimal) that are to be sent to 
  12.  the printer to enable the required printer mode. The different sequences 
  13.  that are needed for the printer driver are explained in the following 
  14.  sections and can be changed if they don't match the ones required by your 
  15.  printer.  
  16.  
  17.  In each of the following sections control code sequences have been provided 
  18.  for a number of popular printers. To enable the sequence for one of the 
  19.  printers listed delete the space in column 1 so that the '*' or 'F' moves 
  20.  to column 1.  Only one sequence can be enabled at a time and all others 
  21.  must be disable by inserting a space in column 1.  
  22.  
  23. ******************************************************************************
  24. ┌────────────────────────────────────────────────────────────────────────────┐
  25. │The following control code sequence is sent to the printer to cancel any    │
  26. │special print modes (ie.  double width, emphasized, etc) before any page is │
  27. │printed. It also must enable printing at 17 characters per inch.            │
  28. │                                                                            │
  29. │Note: The maximum number of control codes that can be specified in this     │
  30. │      sequence is 32 and all codes must be on the same line.                │
  31. └────────────────────────────────────────────────────────────────────────────┘
  32.  (Gemini 10X)
  33.  *1 27 77 1 27 87 0 27 70 27 72 27 84 27 45 0 15
  34.  
  35.  (Okidata 192)
  36.  *1 27 73 49 27 87 0 27 70 27 72 27 84 27 45 0 15
  37.  
  38.  (Epson RX80)
  39. *1 20 27 70 27 72 27 84 27 45 00 15 
  40.  
  41. ┌────────────────────────────────────────────────────────────────────────────┐
  42. │The following control code sequence is sent to the printer to feed paper    │
  43. │1/72 inch.                                                                  │
  44. │                                                                            │
  45. │Note: The maximum number of control codes that can be specified in this     │
  46. │      sequence is 8 and all codes must be on the same line.                 │
  47. └────────────────────────────────────────────────────────────────────────────┘
  48.  (Gemini 10X)
  49.  *2 27 65 1 10
  50.  
  51.  (Okidata 192, Epson RX80)
  52. *2 27 65 1 27 50 10
  53.  
  54. ┌────────────────────────────────────────────────────────────────────────────┐
  55. │The following code sequence is sent to the printer to enable 120 dot/inch   │
  56. │graphics mode. Most printers use 2 control codes to select graphics mode    │
  57. │followed by 2 bytes indicating the number of columns to be printed.  This   │
  58. │sequence only defines the control codes. The printer driver appends the     │
  59. │column count when the sequence is sent to the printer.                      │
  60. │                                                                            │
  61. │Note: The maximum number of control codes that can be specified in this     │
  62. │      sequence is 8 and all codes must be on the same line.                 │
  63. └────────────────────────────────────────────────────────────────────────────┘
  64.  (Gemini 10X, Okidata 192, Epson RX80)
  65. *3 27 76
  66.  
  67. ┌────────────────────────────────────────────────────────────────────────────┐
  68. │The following code sequence is sent to the printer after each page is       │
  69. │printed to re-initialize all printer modes before exiting the FLOWCHARTER   │
  70. │program.                                                                    │
  71. │                                                                            │
  72. │Note: The maximum number of control codes that can be specified in this     │
  73. │      sequence is 8 and all codes must be on the same line.                 │
  74. └────────────────────────────────────────────────────────────────────────────┘
  75.  (Gemini 10X, Epson RX80, Okidata 192)
  76. *4 27 50 13 18
  77.  
  78. ┌────────────────────────────────────────────────────────────────────────────┐
  79. │The following code sequences are sent to the printer whenever text is       │
  80. │printed in a font other than 17 CPI. The sequences F1 through F15 correspond│
  81. │to the Fx option in some of the special format commands (.$XH,              │
  82. │.$XT, etc).                                                                 │
  83. │                                                                            │
  84. │The first set of 5 control codes are sent to the printer to enable the print│
  85. │mode before the text is printed.  The second set of 5 control codes are sent│
  86. │to the printer to disable the mode just set and return to 17 character per  │
  87. │inch print mode.                                                            │
  88. │                                                                            │
  89. │Note: Both sets of 5 control codes must be specified. If less than 5 words  │
  90. │      are needed to enable\disable a print mode the remaining code words    │
  91. │      must be set to 00.                                                    │
  92. └────────────────────────────────────────────────────────────────────────────┘
  93.  (Gemini 10X)
  94.  F1   27 66 02 00 00    15 00 00 00 00
  95.  F2   18 00 00 00 00    15 00 00 00 00
  96.  F3   14 00 00 00 00    20 00 00 00 00
  97.  F4   18 27 69 00 00    27 70 15 00 00
  98.  F5   18 14 27 69 00    27 70 20 15 00
  99.  F6   27 66 02 14 00    20 15 00 00 00
  100.  F7   18 14 00 00 00    20 15 00 00 00
  101.  F8   18 27 73 51 00    27 73 49 15 00
  102.  F9   18 27 52 00 00    27 52 00 15 00
  103.  F10  00 00 00 00 00    00 00 00 00 00
  104.  F11  00 00 00 00 00    00 00 00 00 00
  105.  F12  00 00 00 00 00    00 00 00 00 00
  106.  F13  00 00 00 00 00    00 00 00 00 00
  107.  F14  00 00 00 00 00    00 00 00 00 00
  108.  F15  00 00 00 00 00    00 00 00 00 00
  109.  
  110.  (Okidata 192)
  111. F1   27 77 02 00 00    27 80 15 00 00
  112. F2   18 00 00 00 00    15 00 00 00 00
  113. F3   14 00 00 00 00    20 00 00 00 00
  114. F4   18 27 69 00 00    27 70 15 00 00
  115. F5   27 77 14 00 00    20 27 80 00 00
  116. F6   18 14 00 00 00    20 15 00 00 00
  117. F7   18 27 73 51 00    27 73 49 15 00
  118. F8   18 27 37 71 00    27 37 72 15 00
  119. F9   00 00 00 00 00    00 00 00 00 00
  120. F10  00 00 00 00 00    00 00 00 00 00
  121. F11  00 00 00 00 00    00 00 00 00 00
  122. F12  00 00 00 00 00    00 00 00 00 00
  123. F13  00 00 00 00 00    00 00 00 00 00
  124. F14  00 00 00 00 00    00 00 00 00 00
  125. F15  00 00 00 00 00    00 00 00 00 00
  126.  
  127.  (Epson RX80)
  128.  F1   27 77 02 00 00    27 80 15 00 00 
  129.  F2   18 00 00 00 00    15 00 00 00 00
  130.  F3   14 00 00 00 00    20 00 00 00 00
  131.  F4   18 27 69 00 00    27 70 15 00 00
  132.  F5   27 77 14 00 00    20 27 80 00 00
  133.  F6   18 14 00 00 00    20 15 00 00 00 
  134.  F7   18 14 00 00 00    20 15 00 00 00
  135.  F8   18 27 73 51 00    27 73 49 15 00
  136.  F9   00 00 00 00 00    00 00 00 00 00
  137.  F10  00 00 00 00 00    00 00 00 00 00
  138.  F11  00 00 00 00 00    00 00 00 00 00
  139.  F12  00 00 00 00 00    00 00 00 00 00
  140.  F13  00 00 00 00 00    00 00 00 00 00
  141.  F14  00 00 00 00 00    00 00 00 00 00
  142.  F15  00 00 00 00 00    00 00 00 00 00
  143.  
  144.  
  145.  
  146.  
  147.  
  148.